/*
 * @Description:
 * @Autor: Song
 * @Date: 2023-01-12 17:05:44
 * @LastEditors: Song
 * @LastEditTime: 2023-01-13 18:03:10
 */
import service from "@/api/index";
const COMPETITION_GROUPING_INFO = "/api/CompetitionGroupingInfo/";
export default {
	AddCompetitionGroupingInfoApi: (params: object) => {
		//保存分组api
		return service.post(`${COMPETITION_GROUPING_INFO}AddCompetitionGroupingInfo`, params);
	},
	GetGroupInfoListByEventSessionIdApi: (eventSessionId: string) => {
		//获取分组列表
		return service.post(`${COMPETITION_GROUPING_INFO}GetGroupInfoListByEventSessionId`, { eventSessionId });
	},
	JudgeGroupinfoByEventsIdApi: (ProjectId: string) => {
		//验证场次是否有分组
		return service.post(`${COMPETITION_GROUPING_INFO}JudgeGroupinfoByEventsId`, { ProjectId });
	}
};
